home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
BBS Toolkit
/
BBS Toolkit.iso
/
doors_1
/
cbv0150u.zip
/
CBVMENU.MOD
< prev
next >
Wrap
Text File
|
1992-05-15
|
1KB
|
57 lines
MOD for calling CBV from the main menu.
*** = EXISTING CODE (DON'T CHANGE IT)
1) Back up your source code!.
2) Load up BBS.C
3) Search for the function void mainmenu()
4) Search for "CLS" - insert /* *** CBV MOD *** */ where shown
-------------------------------------------------------------------------
*** if (strcmp(s,"CLS")==0)
*** outstr("\x0c");
/* *** CBV MOD *** */
if (strcmp(s,"/CBV")==0) {
strcpy(s1,"CBV.EXE");
if (!exist(s1)) {
nl();
prt(6,"Sorry, the callaback verifier is currently unavailable."); nl();
} else {
sprintf(s2,"!Ran '%s' (Callback Verifier)",s1);
sysoplog(s2);
nl();
prt(5,"Executing Callback Verifier, please wait..."); nl();
chatcall=0;
create_chain_file("CHAIN.TXT");
sprintf(s2," %s\\CHAIN.TXT",cdir);
strcat(s1,s2);
shrink_out(s1,1,0,1,1);
}
}
/* *** CBV MOD *** */
*** if (strcmp(s,"/O")==0)
*** hangup=1;
-------------------------------------------------------------------------
5) Compile.
6) Copy BBS.EXE over old one.
*Notes. If you are running CBV via the CALLBACK.BAT file then change
the line strcpy(s1,"CBV.EXE"); to strcpy(s1,"CALLBACK.BAT");
This mod was originally written by Mark #1@8868 of "The Remote Control
Model Plane BBS". Thank you.